/**
 * Alipay.com Inc.
 * Copyright (c) 2004-2016 All Rights Reserved.
 */
package com.alipay.study.service.user;

import java.util.HashMap;
import java.util.Map;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * @RestController
 * @author wb-qlj205528
 * @version $Id: UserServiceI.java, v 0.1 2016年11月16日 下午4:22:43 wb-qlj205528 Exp $
 */
@RestController
public class UserService {
    /**
     * 
     * @RequestMapping
     * @return
     */
    @RequestMapping(value = "/getuser", method = RequestMethod.GET)
    public Map<String, String> getUser() {
        Map<String, String> map = new HashMap<String, String>();
        map.put("username", "zhangsan");
        map.put("password", "zhangsan123");
        return map;
    }
}
